<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
	<div region="center" style="padding: 1px;">
		<t:datagrid name="departList" title="部门列表"
			actionUrl="departController.do?departgrid" treegrid="true" idField="id"
			pagination="false">
			<t:dgCol title="编号" field="id" treefield="id" hidden="false"></t:dgCol>
			<t:dgCol title="部门名称" field="departname" query="true" treefield="text" width="200"></t:dgCol>			
			<t:dgCol title="职能描述" field="description" treefield="src" width="200"></t:dgCol>
			<t:dgCol title="排序号" field="sortnum" treefield="order" width="50"></t:dgCol>
			<t:dgCol title="操作" field="opt" width="80"></t:dgCol>
			<t:dgDelOpt url="departController.do?del&id={id}" title="删除"></t:dgDelOpt>
			<t:dgToolBar title="部门录入" icon="icon-add"
				url="departController.do?add"
				funname="add"></t:dgToolBar>
			<t:dgToolBar title="部门编辑" icon="icon-edit"
				url="departController.do?update"
				funname="update"></t:dgToolBar>
		</t:datagrid>
	</div>
</div>